package cn.xdf.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.solr.client.solrj.beans.Field;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Goods {

    @Field("id") //映射solr的id域
    private String id;
    @Field
    private String name;
    @Field
    private String title;
    @Field
    private Double price;
    @Field
    private String pic;
}